<%@ include file="/common/taglibs.jsp"%>

<head>
<title><fmt:message key="birthCertificate.title" /></title>

<script type="text/javascript">
	function printPage() {
		window.print();
	}
</script>

<style type="text/css">
div.two_col_left_box {
	float: left;
	padding: 0px;
	width: 380px;
	border: 0px solid gray;
	font-family: "HelveticaNeue-Light", "Helvetica Neue Light",
		"Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
	font-weight: 300;
}

div.two_col_right_box {
	float: right;
	padding: 0px;
	width: 380px;
	border: 0px solid gray;
}

div.three_col_left_box {
	float: left;
	padding: 0px;
	width: 270px;
	border: 0px solid gray;
}

div.three_col_mid_box {
	float: left;
	padding: 0px;
	width: 270px;
	border: 0px solid gray;
}

div.three_col_right_box {
	float: left;
	padding: 0px;
	width: 270px;
	border: 0px solid gray;
}

div.form_row {
	width: 840px;
	padding: 1px;
	overflow: hidden;
	border: 0px solid gray;
	font-family: verdana;
	padding: 10px;
}

div.section_header {
	width: 840px;
	height: 26px;
	color: #FFFAFA;
	display: table-cell;
	vertical-align: middle;
	background-color: #545454;
	padding: 0 5px 2px;
	font-family: serif;
	font-size: 14px;
}

div.bground {
	background-color: white;
	background-image: url("../images/blue_back_new.jpg");
	background-repeat: no-repeat;
	height: 90px;
	margin-bottom: 0;
	padding: 0;
}
</style>
</head>

<body class="createBirth" />

<div class="span12">
	<s:form name="printPreviewForm" enctype="multipart/form-data"
		validate="false" cssClass="well form-vertical" paramId="id"
		paramProperty="id">

		<s:param name="id">
			<s:property value="id" />
		</s:param>

		<s:hidden key="birth.id" />
		<s:hidden key="id" />
		<input type="hidden" name="from" value="${param.from}" />
	
		<s:if test="birth.idProof != null">
		
			<img
				src="${ctx}/showImage.action?id=${birth.id}&from=list"
				border="0" width="600" height="500">
		</s:if>

	</br></br>
			<s:submit key="button.print" cssClass="btn btn-primary"
				theme="simple" onClick='printPage()' />
			<s:submit key="button.close" cssClass="btn btn-primary"
				theme="simple" onClick="window.close()" />
	
	</s:form>

</div>

